function class_Tips(msg,type) {
    layui.use(['notice'], function () {
        var notice = layui.notice;
        if (type == 'success') {
            notice.success({
                title: msg,
                message: '你有新的消息，请注意查收!',
                position: 'topCenter',
                animateInside: true,
                displayMode: '2',
                balloon: false,
                transitionOut:'flipOutX',
                audio: '2'
            });
        } else if (type == 'error') {
            notice.error({
                title: msg,
                message: '你有新的消息，请注意查收!',
                position: 'topCenter',
                animateInside: true,
                displayMode: '2',
                balloon: false,
                transitionOut:'flipOutX',
                audio: '2'
            });
        } else if (type == 'info') {
            notice.info({
                title: msg,
                message: '你有新的消息，请注意查收!',
                position: 'topCenter',
                animateInside: true,
                displayMode: '2',
                balloon: false,
                transitionOut:'flipOutX',
                audio: '2'
            });
        } else if (type == '') {
            notice.show({
                title: msg,
                message: '你有新的消息，请注意查收!',
                position: 'topCenter',
                animateInside: true,
                displayMode: '2',
                balloon: false,
                transitionOut:'flipOutX',
                audio: '2'
            });
        }
    });
}